package cn.ssq.service;

import cn.ssq.domain.Result;
import cn.ssq.domain.SampleInfo;
import com.github.pagehelper.PageInfo;

import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface SampleInfoService {
   int addSampleInfo(Map<String, Object> map);

   List<SampleInfo> findSampleInfoList();

   PageInfo selectLikeSampleId(Map<String, Object> map, Integer pageNum);
   SampleInfo findById(Integer id);
   //修改样品信息
   int updateSampleInfo(Map<String, Object> map);
   Result delectSampleById(Integer[] id);
   String[] selectverifyUser();

   int insertInfo(String sampleId, Integer isdel, Integer cropCategoryId, Integer cropCpeciesId, String sheng, String shi, String xian, String xiang,
                  String cun, String hu, String hTime, String sTime, String samPeople, String seasonal, String description, String pollutionRate, List<Integer> array
           , String[] orgNum, String[] word, String[] txt, String[] png) throws ParseException;
   List<SampleInfo> selectLikePage(Map<String, Object> map);


}
